package cn.iocoder.yudao.module.crm.controller.admin.followup.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 跟进类型新增/修改 Request VO")
@Data
public class CrmFollowTypeConfigSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "28800")
    private Long id;

    @Schema(description = "所属模块")
    @NotNull(message = "所属模块不能为空")
    private Long moduleId;

    @Schema(description = "跟进类型")
    @NotEmpty(message = "跟进类型不能为空")
    private String name;

    private Integer sort;
}